From c9d6130aef374a006fe0bbd8cbc2bb5ec12ada4f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 15 May 2016 00:00:00 +0300 Subject: [PATCH] fix test_cargo_clean --- tests/test_cargo_clean.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cargo_clean.rs b/tests/test_cargo_clean.rs index aeededd68..3efff07f2 100644 --- a/tests/test_cargo_clean.rs +++ b/tests/test_cargo_clean.rs @@ -127,7 +127,7 @@ test!(clean_release { assert_that(p.cargo("clean").arg("-p").arg("foo").arg("--release"), execs().with_status(0)); assert_that(p.cargo("build").arg("--release"), - execs().with_status(0).with_stdout("\ + execs().with_status(0).with_stderr("\ [COMPILING] foo v0.0.1 ([..]) ")); }); @@ -163,7 +163,7 @@ test!(build_script { assert_that(p.cargo("clean").arg("-p").arg("foo"), execs().with_status(0)); assert_that(p.cargo("build").arg("-v"), - execs().with_status(0).with_stdout("\ + execs().with_status(0).with_stderr("\ [COMPILING] foo v0.0.1 ([..]) [RUNNING] `rustc build.rs [..]` [RUNNING] `[..]build-script-build[..]` -- 2.30.2